package starblaze.error 
{
  import starblaze.Attribute;
	
  public class MissingAttributeError extends Error
  {
    
    private var m_attribute:Attribute = null;
    public function get attribute():Attribute { return m_attribute; }
    
    public function MissingAttributeError(attribute:Attribute) 
    {
      super("Missing attribute \"" 
            + attribute.name 
            + "\" (size: " 
            + attribute.numBytes 
            + " bytes)");
      m_attribute = attribute;
    }
    
  }

}
